package com.ming_za.od_updater_sdk.obj;

public class UpdateError {

    /**
     * 更新出错的资源
     */
    private final Res res;

    /**
     * 出错的原因
     */
    private final Throwable throwable;

    public UpdateError(Res res, Throwable throwable) {
        this.res = res;
        this.throwable = throwable;
    }

    public Res getRes() {
        return res;
    }

    public Throwable getThrowable() {
        return throwable;
    }
}
